export interface ButtonProps {
  type?: "blue" | "red" | "default";
  text?: string;
  children?: React.ReactNode;
  disabled?: boolean;
  loading?: boolean;
  /**
   * 设置 button 原生的 type 值
   * 可选值请参考HTML标准
   * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type
   */
  htmlType?: "button" | "submit" | "reset";
  onClick?: () => void;
  className?: string;
  style?: React.CSSProperties;
}
